--[[ 给伤害来源添加buff，参数就buffID ]]

---@class BuffEffect92053100 : BaseBuffEffect
BuffEffect92053100 = ClientFight.CreateClass("BuffEffect92053100", ClientFight.BaseBuffEffect)
local t = BuffEffect92053100

---@param fight Fight
---@param buff FighterBuff
function t:action(fight, buff, ...)
    local parameters = {...};
    local attackMe = parameters[1];
    SkillRoleMgr.savePathFile("[" .. fight.frame .. "][EFFECT]Fighter " .. buff.target.fighterId .. " Buff:"
            .. buff.modelId .. " 自己被攻击,给敌方上个buff" .. buff.buffBean.f_BuffEffectValue[1]);
    BuffManager.addBuff(fight, buff.skill, buff.target, attackMe, false, buff.buffBean.f_BuffEffectValue[1], 1);
    return ClientFight.BaseBuffEffect.action(self, fight, buff, ...);
end

t.New()